var mongoose = require('mongoose')

var schema = require('../config/schema')
var sysSettingSchema = mongoose.Schema(schema.sysSetting)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

sysSettingSchema.set('toJSON', {
    getters: true,
})
var SysSettingModel = mongoose.model('sysSetting', sysSettingSchema)

module.exports = SysSettingModel;